package com.lingz.manager.modules.wuxue.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@Entity
@Table(name = "w_device_Info")
@TableName("w_device_Info")
@ApiModel(value = "设备信息")
public class DeviceInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @TableId
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "设备id")
    private String deviceId;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "状态")
    private Integer state;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "创建者")
    private String createdBy;

    @ApiModelProperty(value = "创建时间")
    private String createdOn;

    @ApiModelProperty(value = "修改时间")
    private String modifiedOn;

    @ApiModelProperty(value = "更新者")
    private String updatedBy;


    @ApiModelProperty(value = "开始监测时间")
    private String startDate;

    @ApiModelProperty(value = "监测结束时间")
    private String endDate;

    @ApiModelProperty(value = "设备类型id")
    private String modelNum;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "监测点")
    private String monitorPoint;

    @ApiModelProperty(value = "设备类型")
    private String deviceType;

    @ApiModelProperty(value = "厂家")
    private String factory;

    @ApiModelProperty(value = "安装位置")
    private String position;
}
